package com.ruoyi.swla2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * GIS管网-图层对象 gis_layer
 *
 * @author gdqt
 * @date 2023-11-26
 */
public class GisLayer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Integer id;

    /**
     * 父级ID
     */
    private Integer pid;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 图层名称
     */
    @Excel(name = "图层名称")
    private String layerName;

    /**
     * 图层类型，0点，1线，2面
     */
    @Excel(name = "图层类型，0点，1线，2面")
    private Integer layerType;

    /**
     * 图层图标
     */
    private String layerIcon;

    /**
     * 是否启用，0否，1是，默认1
     */
    @Excel(name = "是否启用，0否，1是，默认1")
    private Integer status;

    /**
     * 图层排序，用于控制图层的显示顺序，数字小的排在前面
     */
    @Excel(name = "图层排序，用于控制图层的显示顺序，数字小的排在前面")
    private Integer sort;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remarks;

    /**
     * 是否删除，0否，1是
     */
    @Excel(name = "是否删除，0否，1是")
    private Integer izDeleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getLayerName() {
        return layerName;
    }

    public void setLayerName(String layerName) {
        this.layerName = layerName;
    }

    public Integer getLayerType() {
        return layerType;
    }

    public void setLayerType(Integer layerType) {
        this.layerType = layerType;
    }

    public String getLayerIcon() {
        return layerIcon;
    }

    public void setLayerIcon(String layerIcon) {
        this.layerIcon = layerIcon;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getIzDeleted() {
        return izDeleted;
    }

    public void setIzDeleted(Integer izDeleted) {
        this.izDeleted = izDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pid", getPid())
                .append("tenantId", getTenantId())
                .append("layerName", getLayerName())
                .append("layerType", getLayerType())
                .append("status", getStatus())
                .append("sort", getSort())
                .append("remarks", getRemarks())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("izDeleted", getIzDeleted())
                .toString();
    }
}
